package band.wukong.practice.webservice.kh.sample08;

import javax.xml.ws.WebFault;

/**
 * 不能用RuntimeException，否则会有异常时会抛出ServerSOAPFaultException
 *
 * @author wukong(wukonggg@139.com)
 */
@WebFault(name = "userException", targetNamespace = "http://www.wukong.band/practice/webservice/kh/sample08/")
public class UserException extends Exception {

    public UserException() {
    }

    public UserException(String message) {
        super(message);
    }

    public UserException(String message, Throwable cause) {
        super(message, cause);
    }

    public UserException(Throwable cause) {
        super(cause);
    }

    public UserException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }
}
